package com.base.po.voip;

/**
 * 提现信息
 * @author Administrator
 *
 */
public class Userpays {
	private String id;// id

	private String userid;// 用户id
	
	private Integer type;// 类型 1.支付宝 2.银行卡 3.话费

	private String aliaccount;// 支付宝

	private String bankname;// 银行名称

	private String bankno;// 银行卡号

	private String bankrealname;// 银行卡真实姓名

	private String name;// 姓名

	private Boolean datastatus;// 数据状态

	private String mobile;// 提现通知手机号
	
	private String parentid;// 代理商id
	
	private String pname;// 代理商名称

	private String submobile;// 用户手机号码

	private String pid;// 代理商id
	
	private Withdrawals withdrawals; // 提现申请对象

	public Userpays() {
		super();
	}

	public Userpays(String id, String userid, Integer type, String aliaccount, String bankname,
			String bankno, String bankrealname,String name, Boolean datastatus, String mobile, String parentid) {
		super();
		this.id = id;
		this.userid = userid;
		this.type = type;
		this.aliaccount = aliaccount;
		this.bankname = bankname;
		this.bankno = bankno;
		this.bankrealname = bankrealname;
		this.name = name;
		this.datastatus = datastatus;
		this.mobile = mobile;
		this.parentid = parentid;
	}
	
	public Withdrawals getWithdrawals() {
		return withdrawals;
	}

	public void setWithdrawals(Withdrawals withdrawals) {
		this.withdrawals = withdrawals;
	}
	
	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getSubmobile() {
		return submobile;
	}

	public void setSubmobile(String submobile) {
		this.submobile = submobile;
	}

	public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid == null ? null : userid.trim();
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAliaccount() {
		return aliaccount;
	}

	public void setAliaccount(String aliaccount) {
		this.aliaccount = aliaccount == null ? null : aliaccount.trim();
	}

	public String getBankname() {
		return bankname;
	}

	public void setBankname(String bankname) {
		this.bankname = bankname == null ? null : bankname.trim();
	}

	public String getBankno() {
		return bankno;
	}

	public void setBankno(String bankno) {
		this.bankno = bankno == null ? null : bankno.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Boolean getDatastatus() {
		return datastatus;
	}

	public void setDatastatus(Boolean datastatus) {
		this.datastatus = datastatus;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile == null ? null : mobile.trim();
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getBankrealname() {
		return bankrealname;
	}

	public void setBankrealname(String bankrealname) {
		this.bankrealname = bankrealname;
	}
}